﻿using System.Web.Optimization;

namespace YodaMaster
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new Bundle("~/scripts/packed.js", new JsMinify()).Include(
                // jquery
                        "~/Scripts/jquery-1.7.1.js",
                        "~/Scripts/jquery-ui-1.8.17.js",
                        "~/Scripts/jquery.validate.js",
                        "~/Scripts/jquery.validate.unobtrusive.js",
                        "~/Scripts/jquery.unobtrusive-ajax.js"));

            bundles.Add(new Bundle("~/content/css/packed.css", new CssMinify()).Include(
                // reset
                        "~/Content/css/cssreset-min.css",
                        "~/Content/css/cssfonts-min.css",

                        // themes
                        "~/Content/themes/base/jquery-ui-1.8.16.custom.css",

                        // site
                        "~/Content/themes/base/Site.css"));
        }
    }
}